﻿using System;
using System.Collections;
using System.Collections.Generic;
using StrawberryShake;

namespace CoolStore.WebUI.Host
{
    [System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
    public partial class Queries
        : global::StrawberryShake.IDocument
    {
        private readonly byte[] _hashName = new byte[]
        {
            109,
            100,
            53,
            72,
            97,
            115,
            104
        };
        private readonly byte[] _hash = new byte[]
        {
            50,
            54,
            57,
            101,
            56,
            52,
            101,
            51,
            54,
            49,
            57,
            99,
            48,
            50,
            56,
            101,
            52,
            97,
            56,
            56,
            54,
            99,
            55,
            50,
            99,
            51,
            55,
            97,
            57,
            48,
            53,
            48
        };
        private readonly byte[] _content = new byte[]
        {
            113,
            117,
            101,
            114,
            121,
            32,
            103,
            101,
            116,
            80,
            114,
            111,
            100,
            117,
            99,
            116,
            115,
            40,
            36,
            112,
            97,
            103,
            101,
            58,
            32,
            73,
            110,
            116,
            44,
            32,
            36,
            112,
            97,
            103,
            101,
            83,
            105,
            122,
            101,
            58,
            32,
            73,
            110,
            116,
            44,
            32,
            36,
            119,
            104,
            101,
            114,
            101,
            58,
            32,
            67,
            97,
            116,
            97,
            108,
            111,
            103,
            80,
            114,
            111,
            100,
            117,
            99,
            116,
            68,
            116,
            111,
            70,
            105,
            108,
            116,
            101,
            114,
            41,
            32,
            123,
            32,
            112,
            114,
            111,
            100,
            117,
            99,
            116,
            115,
            40,
            112,
            97,
            103,
            101,
            58,
            32,
            36,
            112,
            97,
            103,
            101,
            44,
            32,
            112,
            97,
            103,
            101,
            83,
            105,
            122,
            101,
            58,
            32,
            36,
            112,
            97,
            103,
            101,
            83,
            105,
            122,
            101,
            44,
            32,
            119,
            104,
            101,
            114,
            101,
            58,
            32,
            36,
            119,
            104,
            101,
            114,
            101,
            44,
            32,
            111,
            114,
            100,
            101,
            114,
            95,
            98,
            121,
            58,
            32,
            123,
            32,
            112,
            114,
            105,
            99,
            101,
            58,
            32,
            68,
            69,
            83,
            67,
            32,
            125,
            41,
            32,
            123,
            32,
            95,
            95,
            116,
            121,
            112,
            101,
            110,
            97,
            109,
            101,
            32,
            101,
            100,
            103,
            101,
            115,
            32,
            123,
            32,
            95,
            95,
            116,
            121,
            112,
            101,
            110,
            97,
            109,
            101,
            32,
            105,
            100,
            32,
            110,
            97,
            109,
            101,
            32,
            105,
            109,
            97,
            103,
            101,
            85,
            114,
            108,
            32,
            112,
            114,
            105,
            99,
            101,
            32,
            100,
            101,
            115,
            99,
            114,
            105,
            112,
            116,
            105,
            111,
            110,
            32,
            99,
            97,
            116,
            101,
            103,
            111,
            114,
            121,
            32,
            123,
            32,
            95,
            95,
            116,
            121,
            112,
            101,
            110,
            97,
            109,
            101,
            32,
            105,
            100,
            32,
            110,
            97,
            109,
            101,
            32,
            125,
            32,
            115,
            116,
            111,
            114,
            101,
            32,
            123,
            32,
            95,
            95,
            116,
            121,
            112,
            101,
            110,
            97,
            109,
            101,
            32,
            105,
            100,
            32,
            119,
            101,
            98,
            115,
            105,
            116,
            101,
            32,
            108,
            111,
            99,
            97,
            116,
            105,
            111,
            110,
            32,
            100,
            101,
            115,
            99,
            114,
            105,
            112,
            116,
            105,
            111,
            110,
            32,
            125,
            32,
            125,
            32,
            116,
            111,
            116,
            97,
            108,
            67,
            111,
            117,
            110,
            116,
            32,
            125,
            32,
            125,
            32,
            113,
            117,
            101,
            114,
            121,
            32,
            103,
            101,
            116,
            67,
            97,
            116,
            101,
            103,
            111,
            114,
            105,
            101,
            115,
            32,
            123,
            32,
            99,
            97,
            116,
            101,
            103,
            111,
            114,
            105,
            101,
            115,
            32,
            123,
            32,
            95,
            95,
            116,
            121,
            112,
            101,
            110,
            97,
            109,
            101,
            32,
            105,
            100,
            32,
            110,
            97,
            109,
            101,
            32,
            125,
            32,
            125,
            32,
            113,
            117,
            101,
            114,
            121,
            32,
            103,
            101,
            116,
            83,
            116,
            111,
            114,
            101,
            115,
            32,
            123,
            32,
            115,
            116,
            111,
            114,
            101,
            115,
            32,
            123,
            32,
            95,
            95,
            116,
            121,
            112,
            101,
            110,
            97,
            109,
            101,
            32,
            105,
            100,
            32,
            108,
            111,
            99,
            97,
            116,
            105,
            111,
            110,
            32,
            125,
            32,
            125,
            32,
            109,
            117,
            116,
            97,
            116,
            105,
            111,
            110,
            32,
            99,
            114,
            101,
            97,
            116,
            101,
            80,
            114,
            111,
            100,
            117,
            99,
            116,
            77,
            117,
            116,
            97,
            116,
            105,
            111,
            110,
            40,
            36,
            99,
            114,
            101,
            97,
            116,
            101,
            80,
            114,
            111,
            100,
            117,
            99,
            116,
            73,
            110,
            112,
            117,
            116,
            58,
            32,
            67,
            114,
            101,
            97,
            116,
            101,
            80,
            114,
            111,
            100,
            117,
            99,
            116,
            73,
            110,
            112,
            117,
            116,
            33,
            41,
            32,
            123,
            32,
            99,
            114,
            101,
            97,
            116,
            101,
            80,
            114,
            111,
            100,
            117,
            99,
            116,
            40,
            99,
            114,
            101,
            97,
            116,
            101,
            80,
            114,
            111,
            100,
            117,
            99,
            116,
            73,
            110,
            112,
            117,
            116,
            58,
            32,
            36,
            99,
            114,
            101,
            97,
            116,
            101,
            80,
            114,
            111,
            100,
            117,
            99,
            116,
            73,
            110,
            112,
            117,
            116,
            41,
            32,
            123,
            32,
            95,
            95,
            116,
            121,
            112,
            101,
            110,
            97,
            109,
            101,
            32,
            105,
            100,
            32,
            110,
            97,
            109,
            101,
            32,
            125,
            32,
            125,
            32,
            109,
            117,
            116,
            97,
            116,
            105,
            111,
            110,
            32,
            117,
            112,
            100,
            97,
            116,
            101,
            80,
            114,
            111,
            100,
            117,
            99,
            116,
            77,
            117,
            116,
            97,
            116,
            105,
            111,
            110,
            40,
            36,
            117,
            112,
            100,
            97,
            116,
            101,
            80,
            114,
            111,
            100,
            117,
            99,
            116,
            73,
            110,
            112,
            117,
            116,
            58,
            32,
            85,
            112,
            100,
            97,
            116,
            101,
            80,
            114,
            111,
            100,
            117,
            99,
            116,
            73,
            110,
            112,
            117,
            116,
            33,
            41,
            32,
            123,
            32,
            117,
            112,
            100,
            97,
            116,
            101,
            80,
            114,
            111,
            100,
            117,
            99,
            116,
            40,
            117,
            112,
            100,
            97,
            116,
            101,
            80,
            114,
            111,
            100,
            117,
            99,
            116,
            73,
            110,
            112,
            117,
            116,
            58,
            32,
            36,
            117,
            112,
            100,
            97,
            116,
            101,
            80,
            114,
            111,
            100,
            117,
            99,
            116,
            73,
            110,
            112,
            117,
            116,
            41,
            32,
            123,
            32,
            95,
            95,
            116,
            121,
            112,
            101,
            110,
            97,
            109,
            101,
            32,
            105,
            100,
            32,
            110,
            97,
            109,
            101,
            32,
            125,
            32,
            125,
            32,
            109,
            117,
            116,
            97,
            116,
            105,
            111,
            110,
            32,
            100,
            101,
            108,
            101,
            116,
            101,
            80,
            114,
            111,
            100,
            117,
            99,
            116,
            77,
            117,
            116,
            97,
            116,
            105,
            111,
            110,
            40,
            36,
            100,
            101,
            108,
            101,
            116,
            101,
            80,
            114,
            111,
            100,
            117,
            99,
            116,
            73,
            110,
            112,
            117,
            116,
            58,
            32,
            68,
            101,
            108,
            101,
            116,
            101,
            80,
            114,
            111,
            100,
            117,
            99,
            116,
            73,
            110,
            112,
            117,
            116,
            33,
            41,
            32,
            123,
            32,
            100,
            101,
            108,
            101,
            116,
            101,
            80,
            114,
            111,
            100,
            117,
            99,
            116,
            40,
            100,
            101,
            108,
            101,
            116,
            101,
            80,
            114,
            111,
            100,
            117,
            99,
            116,
            73,
            110,
            112,
            117,
            116,
            58,
            32,
            36,
            100,
            101,
            108,
            101,
            116,
            101,
            80,
            114,
            111,
            100,
            117,
            99,
            116,
            73,
            110,
            112,
            117,
            116,
            41,
            32,
            125
        };

        public ReadOnlySpan<byte> HashName => _hashName;

        public ReadOnlySpan<byte> Hash => _hash;

        public ReadOnlySpan<byte> Content => _content;

        public static Queries Default { get; } = new Queries();

        public override string ToString() => 
            @"query getProducts($page: Int, $pageSize: Int, $where: CatalogProductDtoFilter) {
              products(page: $page, pageSize: $pageSize, where: $where, order_by: { price: DESC }) {
                edges {
                  id
                  name
                  imageUrl
                  price
                  description
                  category {
                    id
                    name
                  }
                  store {
                    id
                    website
                    location
                    description
                  }
                }
                totalCount
              }
            }
            
            query getCategories {
              categories {
                id
                name
              }
            }
            
            query getStores {
              stores {
                id
                location
              }
            }
            
            mutation createProductMutation($createProductInput: CreateProductInput!) {
              createProduct(createProductInput: $createProductInput) {
                id
                name
              }
            }
            
            mutation updateProductMutation($updateProductInput: UpdateProductInput!) {
              updateProduct(updateProductInput: $updateProductInput) {
                id
                name
              }
            }
            
            mutation deleteProductMutation($deleteProductInput: DeleteProductInput!) {
              deleteProduct(deleteProductInput: $deleteProductInput)
            }";
    }
}
